CQDProcs
You need to use theCQDProcs
record only if you customize one or more of QuickDraw's standard low-level drawing routines, which are described in the chapter "QuickDraw Drawing." You can use theSetStdCProcs
procedure, described on page 4-87, to create aCQDProcs
record.
CQDProcsPtr = ^CQDProcs CQDProcs = RECORD textProc: Ptr; {text drawing} lineProc: Ptr; {line drawing} rectProc: Ptr; {rectangle drawing} rRectProc: Ptr; {roundRect drawing} ovalProc: Ptr; {oval drawing} arcProc: Ptr; {arc/wedge drawing} polyProc: Ptr; {polygon drawing} rgnProc: Ptr; {region drawing} bitsProc: Ptr; {bit transfer} commentProc: Ptr; {picture comment processing} txMeasProc: Ptr; {text width measurement} getPicProc: Ptr; {picture retrieval} putPicProc: Ptr; {picture saving} opcodeProc: Ptr; {reserved for future use} newProc1: Ptr; {reserved for future use} newProc2: Ptr; {reserved for future use} newProc3: Ptr; {reserved for future use} newProc4: Ptr; {reserved for future use} newProc5: Ptr; {reserved for future use} newProc6: Ptr; {reserved for future use} END;
Field Description
textProc
- A pointer to the low-level routine that draws text. The standard QuickDraw routine is the
StdText
procedure.lineProc
- A pointer to the low-level routine that draws lines. The standard QuickDraw routine is the
StdLine
procedure.rectProc
- A pointer to the low-level routine that draws rectangles. The standard QuickDraw routine is the
StdRect
procedure.rRectProc
- A pointer to the low-level routine that draws rounded rectangles. The standard QuickDraw routine is the
StdRRect
procedure.ovalProc
- A pointer to the low-level routine that draws ovals. The standard QuickDraw routine is the
StdOval
procedure.arcProc
- A pointer to the low-level routine that draws arcs. The standard QuickDraw routine is the
StdArc
procedure.polyProc
- A pointer to the low-level routine that draws polygons. The standard QuickDraw routine is the
StdPoly
procedure.rgnProc
- A pointer to the low-level routine that draws regions. The standard QuickDraw routine is the
StdRgn
procedure.bitsProc
- A pointer to the low-level routine that copies bitmaps. The standard QuickDraw routine is the
StdBits
procedure.commentProc
- A pointer to the low-level routine for processing a picture comment. The standard QuickDraw routine is the
StdComment
procedure.
txMeasProc
- A pointer to the low-level routine for measuring text width. The standard QuickDraw routine is the
StdTxMeas
function.getPicProc
- A pointer to the low-level routine for retrieving information from the definition of a picture. The standard QuickDraw routine is the
StdGetPic
procedure.putPicProc
- A pointer to the low-level routine for saving information as the definition of a picture. The standard QuickDraw routine is the
StdPutPic
procedure.opcodeProc
- Reserved for future use.
newProc1
- Reserved for future use.
newProc2
- Reserved for future use.
newProc3
- Reserved for future use.
newProc4
- Reserved for future use.
newProc5
- Reserved for future use.
newProc6
- Reserved for future use.